
var express = require('express');
var newsRouter = express.Router();
const newsController = require('../../controller/web/newsController')



newsRouter.get('/webapi/news/list', newsController.getList);

newsRouter.get('/webapi/news/list/:id', newsController.getList);

newsRouter.get('/webapi/news/toplist', newsController.getTopList);



module.exports = newsRouter